export const tableOption = {
  border: true,
  index: true,
  indexLabel: "序号",
  stripe: true,
  menuAlign: "center",
  align: "center",
  searchMenuSpan: 6,
  menu:false,
  columnBtn: true,
  column: [
    {
      type: "input",
      label: "工单号",
      prop: "docNo",
      search: true,
      span: 12
    },
    {
      type: "input",
      label: "物料号",
      prop: "itemCode",
      search: true,
      span: 12
    },
    {
      type: "input",
      label: "物料名称",
      prop: "itemName",
      search: true,
      span: 12
    },
    {
      type: "input",
      label: "物料规格",
      prop: "itemSpecification",
      span: 12
    },
    {
      type: "input",
      label: "物料描述",
      prop: "itemDesc",
      span: 12
    },
    {
      type: "input",
      label: "物料图号",
      prop: "drawingNo",
      search: true,
      span: 12
    },
    {
      type: "input",
      label: "单位名",
      prop: "unitName",
      span: 12
    },
    {
      type: "number",
      label: "需领用量",
      prop: "requiredQty",
      span: 12,
      formatter:(val,value,label)=> {
        val.requiredQty=Number(val.requiredQty)
        return val.requiredQty
      },

     },
    {
      type: "number",
      label: "已领用量",
      prop: "issuedQty",
      span: 12,
      formatter:(val,value,label)=> {
        val.requiredQty=Number(val.requiredQty)
        return val.requiredQty
      },
    }
  ]
}
